package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Txt;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface TxtMapper {
      int add(Txt txt);
      List<Txt> selectUserid(int userid);
      Txt  selectId(int id);
      List<Txt> selectByname(String title);
      List<Txt> selectByclassify(int userid,int classify);
      List<Txt> selectall();
      int delete(int id);
      int look(Txt txt);
      int updateTxt(Txt txt);



}
